package com.inspur.sc.springboot.dao;

import com.inspur.sc.springboot.entity.SysPermissionGroup;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysPermissionGroupDao extends JpaRepository<SysPermissionGroup, Integer> {

    List<SysPermissionGroup> findBySysGroupId(Integer groupId);

    void deleteBySysGroupId(Integer groupId);
}
